<template>
	<view class="wrap">
		<view class="head">
			<view class="closeIcon" @click="handleClose">×</view>
		</view>
		<view class="main">
			<icon type="success" color="green" size="80"></icon>
			<view class="payText">支付成功</view>
			<navigator class="goPerson" url="/pages/personPage/personPage">查看订单</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			handleClose(){
				uni.switchTab({
					url:"../index/index"
				})
			}
		}
	}
</script>

<style lang="less">
	.wrap{
		.head{
			height: 88rpx;
			display: flex;
			align-items: center;
			.closeIcon{
				font-size: 44rpx;
				padding-left: 30rpx;
			}
		}
		.main{
			display: flex;
			flex-direction: column;
			align-items: center;
			padding-top: 60rpx;
			.payText{
				font-size: 48rpx;
				font-weight: 700;
				padding: 30rpx 0;
			}
			.goPerson{
				color: blue;
				text-decoration: underline;
			}		
		}
	}
</style>
